package com.ruoyi.siyun.domain;

import java.math.BigDecimal;
import java.util.List;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 课程对象 sy_course
 * 
 * @author theguo
 * @date 2024-12-19
 */
public class SyCourse extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 课程主键 */
    private Long id;

    /** 作者 */
    @Excel(name = "作者")
    private Long username;

    /** 推荐（2，新品，3推荐，4其他） */
    @Excel(name = "推荐", readConverterExp = "2=，新品，3推荐，4其他")
    private Long recommend;

    /** 课程名称 */
    @Excel(name = "课程名称")
    private String courseName;

    /** 课程简介 */
    @Excel(name = "课程简介")
    private String courseIntro;

    /** 备注 */
    @Excel(name = "备注")
    private String remarks;

    /** 课程原价 */
    @Excel(name = "课程原价")
    private BigDecimal coursePrice;

    /** 课程现价 */
    @Excel(name = "课程现价")
    private BigDecimal courseNprice;

    /** 上架状态(2上架，3未上架） */
    @Excel(name = "上架状态(2上架，3未上架）")
    private Long courseStatus;

    /** 审核状态(3未审核，4审核中，5审核失败，6其他） */
    @Excel(name = "审核状态(3未审核，4审核中，5审核失败，6其他）")
    private Long courseCstatus;

    /** 课程搜索关键字 */
    @Excel(name = "课程搜索关键字")
    private String coursePrimary;

    /** 缩略图 */
    @Excel(name = "缩略图")
    private String thum;

    /** 课程url地址,多个逗号分割 */
    @Excel(name = "课程url地址,多个逗号分割")
    private String imgUrls;

    /** 点赞数量 */
    @Excel(name = "点赞数量")
    private Long likeNum;

    /** 分享数量 */
    @Excel(name = "分享数量")
    private Long shareNum;

    /** 收藏数量 */
    @Excel(name = "收藏数量")
    private Long collectNum;

    /** 预览数量 */
    @Excel(name = "预览数量")
    private Long lookNum;

    /** 销售数量 */
    @Excel(name = "销售数量")
    private Long saleNum;

    @Excel(name = "分类")
    private Integer classify;

    private List<SyCourseVideo> syCourseVideos;

    public List<SyCourseVideo> getSyCourseVideos() {
        return syCourseVideos;
    }

    public void setSyCourseVideos(List<SyCourseVideo> syCourseVideos) {
        this.syCourseVideos = syCourseVideos;
    }

    public void setId(Long id)







            



    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUsername(Long username) 
    {
        this.username = username;
    }

    public Long getUsername() 
    {
        return username;
    }
    public void setRecommend(Long recommend) 
    {
        this.recommend = recommend;
    }

    public Long getRecommend() 
    {
        return recommend;
    }
    public void setCourseName(String courseName) 
    {
        this.courseName = courseName;
    }

    public String getCourseName() 
    {
        return courseName;
    }
    public void setCourseIntro(String courseIntro) 
    {
        this.courseIntro = courseIntro;
    }

    public String getCourseIntro() 
    {
        return courseIntro;
    }
    public void setRemarks(String remarks) 
    {
        this.remarks = remarks;
    }

    public String getRemarks() 
    {
        return remarks;
    }
    public void setCoursePrice(BigDecimal coursePrice) 
    {
        this.coursePrice = coursePrice;
    }

    public BigDecimal getCoursePrice() 
    {
        return coursePrice;
    }
    public void setCourseNprice(BigDecimal courseNprice) 
    {
        this.courseNprice = courseNprice;
    }

    public BigDecimal getCourseNprice() 
    {
        return courseNprice;
    }
    public void setCourseStatus(Long courseStatus) 
    {
        this.courseStatus = courseStatus;
    }

    public Long getCourseStatus() 
    {
        return courseStatus;
    }
    public void setCourseCstatus(Long courseCstatus) 
    {
        this.courseCstatus = courseCstatus;
    }

    public Long getCourseCstatus() 
    {
        return courseCstatus;
    }
    public void setCoursePrimary(String coursePrimary) 
    {
        this.coursePrimary = coursePrimary;
    }

    public String getCoursePrimary() 
    {
        return coursePrimary;
    }
    public void setThum(String thum) 
    {
        this.thum = thum;
    }

    public String getThum() 
    {
        return thum;
    }
    public void setImgUrls(String imgUrls) 
    {
        this.imgUrls = imgUrls;
    }

    public String getImgUrls() 
    {
        return imgUrls;
    }
    public void setLikeNum(Long likeNum) 
    {
        this.likeNum = likeNum;
    }

    public Long getLikeNum() 
    {
        return likeNum;
    }
    public void setShareNum(Long shareNum) 
    {
        this.shareNum = shareNum;
    }

    public Long getShareNum() 
    {
        return shareNum;
    }
    public void setCollectNum(Long collectNum) 
    {
        this.collectNum = collectNum;
    }

    public Long getCollectNum() 
    {
        return collectNum;
    }
    public void setLookNum(Long lookNum) 
    {
        this.lookNum = lookNum;
    }

    public Long getLookNum() 
    {
        return lookNum;
    }
    public void setSaleNum(Long saleNum) 
    {
        this.saleNum = saleNum;
    }

    public Long getSaleNum()
    {
        return saleNum;
    }

    public Integer getClassify() {
        return classify;
    }

    public void setClassify(Integer classify) {
        this.classify = classify;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("username", getUsername())
            .append("recommend", getRecommend())
            .append("courseName", getCourseName())
            .append("courseIntro", getCourseIntro())
            .append("remarks", getRemarks())
            .append("coursePrice", getCoursePrice())
            .append("courseNprice", getCourseNprice())
            .append("courseStatus", getCourseStatus())
            .append("courseCstatus", getCourseCstatus())
            .append("coursePrimary", getCoursePrimary())
            .append("thum", getThum())
            .append("imgUrls", getImgUrls())
            .append("likeNum", getLikeNum())
            .append("shareNum", getShareNum())
            .append("collectNum", getCollectNum())
            .append("lookNum", getLookNum())
            .append("saleNum", getSaleNum())
            .append("createby", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateby", getUpdateBy())
            .append("updateTime", getUpdateTime()).append("classify",getClassify())
            .toString();
    }
}
